package cc.yugu.yhdw.common.protocol.msg02;

import cc.yugu.yhdw.common.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

public class Msg021000002 extends Msg021 {

    public byte cpu;
    public byte memory;
    public byte disk;
    public byte signal;
    public byte volume;
    public byte status;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_021000002.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        cpu = buffer.readByte();
        memory = buffer.readByte();
        disk = buffer.readByte();
        signal = buffer.readByte();
        volume = buffer.readByte();
        status = buffer.readByte();
    }
}
